ResetStopwatch

Resets the elapsed stopwatch time to zero.

To restart the stopwatch, use the StartStopwatch statement. To stop the stopwatch, use the StopStopwatch.

Syntax

ResetStopwatch()

Example

StartStopwatch()

Window("Report a Bug").EditBox("editboxUsername").SetText("Guest")

Window("Report a Bug").EditBox("editboxPassword").SetText("SoloBug")

Window("Report a Bug").Button("buttonLogin").Click()

StopStopwatch()

elapsedTime = GetStopwatchElapsedTime()

PrintLn("Login time: " + elapsedTime)

ResetStopwatch()